package cn.wolfcode.p2p.bussness.service;


import cn.wolfcode.p2p.bussness.domain.PaymentSchedule;
import cn.wolfcode.p2p.bussness.query.PaymentScheduleQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPaymentScheduleService {
    int save(PaymentSchedule paymentSchedule);
    int update(PaymentSchedule paymentSchedule);
    PaymentSchedule get(Long id);
    PageInfo queryPage(PaymentScheduleQueryObject qo);

    /**
     * 立即还款
     * @param id
     */
    void returnMoney(Long id);
}
